<!--# layout("/common/layout.html",{"jsBase":"/js/admin/order/"}){ -->

<form class="layui-form layui-form-pane" id="addForm">
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">商品名称</label>
				<div class="layui-input-inline">
					<input type="text" name="name" class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">商品价格</label>
				<div class="layui-input-inline">
					<input type="text" name="price" class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">商品折扣</label>
				<div class="layui-input-inline">
					<input type="text" name="discount" class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">是否打折</label>
				<div class="layui-input-inline">
					<input type="text" name="isDiscount" class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">创建日期</label>
				<div class="layui-input-inline">
					<input type="text" name="createdAt" class="layui-input input-date" >
				</div>
            </div>
        </div>
    </div>
    <layui:submitButtons id="addButton" />
</form>
<!--#} -->
<script>
layui.use(['add'], function(){
    var orderAdd = layui.add
    orderAdd.init();
});
</script>
